#pragma once

#include "SDL.h"
#include "SDL_opengl.h" 

bool keyHit(int key);
bool keyDown(int key);
int mouseX();
int mouseY();

class Input
{
private:
	static bool keyD[512]; //down
	static bool keyH[512]; //hit

	static int mouseXV, mouseYV;
	static bool mouseD[10];
	static bool mouseH[10];



public:
	Input();
	virtual ~Input();

	static void detectInput();

	static bool keyDown(int key);
	static bool keyHit(int key);

	static bool mouseDown(int button);
	static bool mouseHit(int button);
	static int mouseX();
	static int mouseY();

};

